<?php

/**
 * Created by Reliese Model.
 * Date: Thu, 21 Sep 2017 02:03:25 +0000.
 */

namespace App\Models;

use Reliese\Database\Eloquent\Model as Eloquent;

/**
 * Class QdcsProject
 * 
 * @property int $id
 * @property string $name
 * @property string $body_name
 * @property int $ptype_id
 * @property int $period
 * @property string $plance
 * @property string $receiver
 * @property float $amount
 * @property string $principal
 * @property string $principal_phone
 * @property string $principal_address
 * @property string $principal_work_time
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class QdcsProject extends Eloquent
{
	protected $table = 'qdcs_project';

	protected $casts = [
		'ptype_id' => 'int',
		'period' => 'int',
		'amount' => 'float'
	];

	protected $fillable = [
		'name',
		'body_name',
		'ptype_id',
		'period',
		'plance',
		'receiver',
		'amount',
		'principal',
		'principal_phone',
		'principal_address',
		'principal_work_time',
        'img',
        // add new
        'procedure_text',
        'information'
	];
}
